package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.CustomerStatsDao;
import com.bootdo.crm.domain.CustomerStatsDO;
import com.bootdo.crm.service.CustomerStatsService;



@Service
public class CustomerStatsServiceImpl implements CustomerStatsService {
	@Autowired
	private CustomerStatsDao customerStatsDao;
	
	@Override
	public CustomerStatsDO get(Integer id){
		return customerStatsDao.get(id);
	}
	
	@Override
	public List<CustomerStatsDO> list(Map<String, Object> map){
		return customerStatsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return customerStatsDao.count(map);
	}
	
	@Override
	public int save(CustomerStatsDO customerStats){
		return customerStatsDao.save(customerStats);
	}
	
	@Override
	public int update(CustomerStatsDO customerStats){
		return customerStatsDao.update(customerStats);
	}
	
	@Override
	public int remove(Integer id){
		return customerStatsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return customerStatsDao.batchRemove(ids);
	}
	
}
